<?php
namespace iBrand\Shop\Core\Models;

use Illuminate\Database\Eloquent\Model;
use DB;


class OrderRefundRelation extends Model
{

    protected $guarded = ['id'];

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);

        $prefix = config('ibrand.app.database.prefix', 'ibrand_');

        $this->setTable($prefix . 'o2o_order_refund_relation');
    }

    public function order()
    {
        return $this->belongsTo(Order::class);
    }

}

